package com.olocat.cjx.nsims.dao

import com.olocat.cjx.nsims.pojo.personnel.Ward
import org.springframework.data.jpa.repository.JpaRepository

interface WardRepository : JpaRepository<Ward,String> {
    fun getWardsByNumber(number: String): Ward
    fun getWardsByDepartment(department: Int):List<Ward>
    fun getWardsByNurse(nurse: String):List<Ward>
    fun getWardsByDoctor(doctor:String):List<Ward>
}